package com.example.dto;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

//@JsonDeserialize(using = ClientSettingsDeserializer.class)
@Data
public class ClientSettingsDTO {

    @Schema(description = "增强OAuth 2.0授权码授予类型的安保措施", required = false, example = "false")
    private Boolean requireProofKey;

    @Schema(description = "是否需要授权(是否跳转授权页)", required = true, example = "true")
    private Boolean requireAuthorizationConsent;

    @Override
    public String toString() {
        return "ClientSettingsDto{" +
                "requireProofKey=" + requireProofKey +
                ", requireAuthorizationConsent=" + requireAuthorizationConsent +
                '}';
    }
}